package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.VrLesson;

import java.util.List;

/**
 * <p>
 * 虚拟仿真课章节 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface VrLessonService extends IService<VrLesson> {
	
	VrLesson AddVrLesson(VrLesson vrLesson);

	VrLesson UpdateVrLesson(VrLesson vrLesson);

	VrLesson GetVrLesson(Integer id);
	
	List<VrLesson> SearchVrLessonsWithKey(String key,Boolean withoutBan);

	IPage<VrLesson> ListVrLessonWithTagAndType(Integer count, Integer page, Integer type, Integer tag,Boolean withoutBan);

	VrLesson SetVrLessonState(Integer id, Integer state);
}
